
module("NetWork.Action.ChatSmAction ", package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

ChatSmAction = NetCmdActionBase:new()

function ChatSmAction:Action(bytes)
    local ChatSm = require("Protol.commonMessage_pb").ChatSm()
    ChatSm:ParseFromString(bytes)
 	-- local UIWinMgr = require("UI.UIWinMgr").UIWinMgr
  --   if ChatSm.code ~= 0 then
        
  --       UIWinMgr:OpenErrorNotice(ChatSm.code)
  --       return
  --   end
    local ClubModule = require("Module.ClubModule").ClubModule
    ClubModule.ChatSm(ChatSm)
end

require("NetWork.NetCmdSet").CmdSet[2104] = ChatSmAction --注册处理对象